<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
      <link rel="shortcut icon" href="../../../img/favicon.ico" />
    <title>Unattended answer file creator - DISMTools Help Documentation</title>
    <link rel="stylesheet" href="../../../css/theme.css" />
    <link rel="stylesheet" href="../../../css/theme_extra.css" />
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/github.min.css" />
    
      <script>
        // Current page data
        var mkdocs_page_name = "Unattended answer file creator";
        var mkdocs_page_input_path = "img_tasks\\unattend\\unatt_create.md";
        var mkdocs_page_url = null;
      </script>
    
    <!--[if lt IE 9]>
      <script src="../../../js/html5shiv.min.js"></script>
    <![endif]-->
      <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
      <script>hljs.highlightAll();</script> 
</head>

<body class="wy-body-for-nav" role="document">

  <div class="wy-grid-for-nav">
    <nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
    <div class="wy-side-scroll">
      <div class="wy-side-nav-search">
          <a href="../../..">
          <img src="../../../logo.png" class="logo" alt="Logo"/>
        </a><div role="search">
  <form id ="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
      <input type="text" name="q" placeholder="Search docs" aria-label="Search docs" title="Type search term here" />
  </form>
</div>
      </div>

      <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
              <ul>
                <li class="toctree-l1"><a class="reference internal" href="../../..">Home</a>
                </li>
              </ul>
              <ul>
                <li class="toctree-l1"><a class="reference internal" href="../../../getting_started/start/">Getting started</a>
                </li>
              </ul>
              <ul>
                <li class="toctree-l1"><a class="reference internal" href="../../../whats_new/highlights/">What's new</a>
                </li>
              </ul>
              <p class="caption"><span class="caption-text">Image tasks</span></p>
              <ul>
                  <li class="toctree-l1"><a class="reference internal" href="../../img_tasks/">Overview</a>
                  </li>
                  <li class="toctree-l1"><a class="reference internal" href="../../online_inst_mgmt/">Online installation management mode</a>
                  </li>
                  <li class="toctree-l1"><a class="reference internal" href="../../offline_inst_mgmt/">Offline installation management mode</a>
                  </li>
                  <li class="toctree-l1"><a class="reference internal" >Image management</a>
    <ul>
                <li class="toctree-l2"><a class="reference internal" href="../../mgmt/append_image/">Appending to an image</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../mgmt/apply_image/">Applying an image</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../mgmt/capture_image/">Capturing an image</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../mgmt/delete_image/">Removing volume images from an image file</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../mgmt/export_image/">Exporting a Windows image</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../mgmt/list_image/">Listing the contents of Windows images</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../mgmt/mount_image/">Mounting an image</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../mgmt/remount_image/">Remounting an image</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../mgmt/split_image/">Splitting an image</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../mgmt/unmount_image/">Unmounting an image</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" >Image information dialogs</a>
    <ul>
                <li class="toctree-l3"><a class="reference internal" href="../../info/infodlgs/">Overview</a>
                </li>
                <li class="toctree-l3"><a class="reference internal" href="../../info/img_info/">Image file information</a>
                </li>
                <li class="toctree-l3"><a class="reference internal" href="../../info/pkg_info/">Package information</a>
                </li>
                <li class="toctree-l3"><a class="reference internal" href="../../info/feat_info/">Feature information</a>
                </li>
                <li class="toctree-l3"><a class="reference internal" href="../../info/appxpkg_info/">AppX package information</a>
                </li>
                <li class="toctree-l3"><a class="reference internal" href="../../info/cap_info/">Capability information</a>
                </li>
                <li class="toctree-l3"><a class="reference internal" href="../../info/drv_info/">Driver information</a>
                </li>
                <li class="toctree-l3"><a class="reference internal" href="../../info/winpe_info/">Windows PE configuration information</a>
                </li>
    </ul>
                </li>
    </ul>
                  </li>
                  <li class="toctree-l1"><a class="reference internal" >OS packages</a>
    <ul>
                <li class="toctree-l2"><a class="reference internal" href="../../packages/pkgs/">Overview</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../packages/add_package/">Adding packages</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../packages/remove_package/">Removing packages</a>
                </li>
    </ul>
                  </li>
                  <li class="toctree-l1"><a class="reference internal" >Features</a>
    <ul>
                <li class="toctree-l2"><a class="reference internal" href="../../features/features/">Overview</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../features/enable_feature/">Enabling features</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../features/disable_feature/">Disabling features</a>
                </li>
    </ul>
                  </li>
                  <li class="toctree-l1"><a class="reference internal" >AppX packages</a>
    <ul>
                <li class="toctree-l2"><a class="reference internal" href="../../appx/appx/">Overview</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../appx/add_provisionedappxpackage/">Adding AppX packages</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../appx/remove_provisionedappxpackage/">Removing AppX packages</a>
                </li>
    </ul>
                  </li>
                  <li class="toctree-l1"><a class="reference internal" >Edition servicing</a>
    <ul>
                <li class="toctree-l2"><a class="reference internal" href="../../editions/editions/">Overview</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../editions/set_edition/">Upgrading an image to a higher edition</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../editions/set_productkey/">Setting the product key</a>
                </li>
    </ul>
                  </li>
                  <li class="toctree-l1"><a class="reference internal" >Languages and regional servicing</a>
    <ul>
                <li class="toctree-l2"><a class="reference internal" href="../../langs/set_layereddriver/">Setting keyboard layered drivers</a>
                </li>
    </ul>
                  </li>
                  <li class="toctree-l1"><a class="reference internal" >Capabilities</a>
    <ul>
                <li class="toctree-l2"><a class="reference internal" href="../../capabilities/caps/">Overview</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../capabilities/add_capability/">Adding capabilities</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../capabilities/remove_capability/">Removing capabilities</a>
                </li>
    </ul>
                  </li>
                  <li class="toctree-l1"><a class="reference internal" >Drivers</a>
    <ul>
                <li class="toctree-l2"><a class="reference internal" href="../../drivers/drvs/">Overview</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../drivers/add_driver/">Adding drivers</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../drivers/export_driver/">Exporting drivers</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../drivers/import_driver/">Importing drivers</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../drivers/remove_driver/">Removing drivers</a>
                </li>
    </ul>
                  </li>
              </ul>
              <p class="caption"><span class="caption-text">Tools</span></p>
              <ul class="current">
                  <li class="toctree-l1"><a class="reference internal" href="../../tools/mimgmgr/">Mounted image manager</a>
                  </li>
                  <li class="toctree-l1"><a class="reference internal" href="../../tools/wim2esd/">Image conversion</a>
                  </li>
                  <li class="toctree-l1"><a class="reference internal" href="../../tools/swm2wim/">SWM file merger</a>
                  </li>
                  <li class="toctree-l1"><a class="reference internal" href="../../tools/configlisteditor/">DISM Configuration List Editor</a>
                  </li>
                  <li class="toctree-l1"><a class="reference internal" >ISO creation tools</a>
    <ul>
                <li class="toctree-l2"><a class="reference internal" href="../../tools/isocreator/">Overview</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../tools/isocreator/isocreate/">Creating ISO files</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" >Installing the operating system</a>
    <ul>
                <li class="toctree-l3"><a class="reference internal" href="../../tools/isocreator/install/localinstall/">Local installations</a>
                </li>
                <li class="toctree-l3"><a class="reference internal" >Network-based installations</a>
    <ul>
                <li class="toctree-l4"><a class="reference internal" href="../../tools/isocreator/install/netinst/pxehelpers/">Overview</a>
                </li>
                <li class="toctree-l4"><a class="reference internal" href="../../tools/isocreator/install/netinst/setup/">Creating a basic network setup (Hyper-V)</a>
                </li>
                <li class="toctree-l4"><a class="reference internal" href="../../tools/isocreator/install/netinst/wds/">Windows Deployment Services (WDS) Helper</a>
                </li>
    </ul>
                </li>
                <li class="toctree-l3"><a class="reference internal" >External Tools</a>
    <ul>
                <li class="toctree-l4"><a class="reference internal" href="../../tools/isocreator/exttools/dim/">Driver Installation Module</a>
                </li>
                <li class="toctree-l4"><a class="reference internal" href="../../tools/isocreator/exttools/dtpe_es/">Extensibility Suite</a>
                </li>
                <li class="toctree-l4"><a class="reference internal" href="../../tools/isocreator/exttools/sysprep/">SysPrep Preparation Tool</a>
                </li>
    </ul>
                </li>
                <li class="toctree-l3"><a class="reference internal" >Command-line</a>
    <ul>
                <li class="toctree-l4"><a class="reference internal" href="../../tools/isocreator/cmdline/cmdline/">Overview</a>
                </li>
                <li class="toctree-l4"><a class="reference internal" href="../../tools/isocreator/cmdline/scriptref/">Administration Script Reference</a>
                </li>
    </ul>
                </li>
    </ul>
                </li>
    </ul>
                  </li>
                  <li class="toctree-l1"><a class="reference internal" href="../../tools/regcpl/">Image registry control panel</a>
                  </li>
                  <li class="toctree-l1"><a class="reference internal" href="../../tools/servicemgr/">System service manager</a>
                  </li>
                  <li class="toctree-l1"><a class="reference internal" href="../../tools/envvarmgr/">System environment variable manager</a>
                  </li>
                  <li class="toctree-l1 current"><a class="reference internal current" >Unattended answer files</a>
    <ul class="current">
                <li class="toctree-l2"><a class="reference internal" href="../unattend/">Overview</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../unatt_man/">Unattended answer file manager</a>
                </li>
                <li class="toctree-l2 current"><a class="reference internal current" href="#">Unattended answer file creator</a>
    <ul class="current">
    <li class="toctree-l3"><a class="reference internal" href="#creator-modes">Creator modes</a>
        <ul>
    <li class="toctree-l4"><a class="reference internal" href="#express-mode">Express mode</a>
    </li>
    <li class="toctree-l4"><a class="reference internal" href="#editor-mode">Editor mode</a>
    </li>
        </ul>
    </li>
    <li class="toctree-l3"><a class="reference internal" href="#requirements">Requirements</a>
    </li>
    <li class="toctree-l3"><a class="reference internal" href="#active-directory-domain-services-domain-join">Active Directory Domain Services domain join</a>
    </li>
    <li class="toctree-l3"><a class="reference internal" href="#starter-script-reference">Starter Script Reference</a>
        <ul>
    <li class="toctree-l4"><a class="reference internal" href="#close-first-logon-animation">Close First Logon Animation</a>
    </li>
    <li class="toctree-l4"><a class="reference internal" href="#set-oem-information">Set OEM Information</a>
    </li>
    <li class="toctree-l4"><a class="reference internal" href="#set-quick-machine-recovery-settings">Set Quick Machine Recovery Settings</a>
    </li>
    <li class="toctree-l4"><a class="reference internal" href="#invoke-winutil-configuration">Invoke WinUtil Configuration</a>
    </li>
    <li class="toctree-l4"><a class="reference internal" href="#set-personalization-settings">Set Personalization Settings</a>
    </li>
    <li class="toctree-l4"><a class="reference internal" href="#set-registered-owner-and-organization">Set Registered Owner and Organization</a>
    </li>
    <li class="toctree-l4"><a class="reference internal" href="#set-up-a-custom-wallpaper">Set up a custom wallpaper</a>
    </li>
    <li class="toctree-l4"><a class="reference internal" href="#update-microsoft-store-apps">Update Microsoft Store apps</a>
    </li>
    <li class="toctree-l4"><a class="reference internal" href="#disable-second-chance-oobe">Disable Second Chance OOBE</a>
    </li>
    <li class="toctree-l4"><a class="reference internal" href="#disable-windows-notification-sources">Disable Windows Notification Sources</a>
    </li>
    <li class="toctree-l4"><a class="reference internal" href="#change-history">Change History</a>
    </li>
        </ul>
    </li>
    <li class="toctree-l3"><a class="reference internal" href="#acknowledgements">Acknowledgements</a>
    </li>
    </ul>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../unatt_apply/">Applying unattended answer files</a>
                </li>
    </ul>
                  </li>
                  <li class="toctree-l1"><a class="reference internal" >External tools</a>
    <ul>
                <li class="toctree-l2"><a class="reference internal" href="../../exttools/themedesigner/">Creating your themes</a>
                </li>
                <li class="toctree-l2"><a class="reference internal" href="../../exttools/dynaviewer/">Viewing diagnostic logs</a>
                </li>
    </ul>
                  </li>
              </ul>
      </div>
    </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
      <nav class="wy-nav-top" role="navigation" aria-label="Mobile navigation menu">
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="../../..">DISMTools Help Documentation</a>
        
      </nav>
      <div class="wy-nav-content">
        <div class="rst-content"><div role="navigation" aria-label="breadcrumbs navigation">
  <ul class="wy-breadcrumbs">
    <li><a href="../../.." class="icon icon-home" aria-label="Docs"></a></li>
          <li class="breadcrumb-item">Tools</li>
          <li class="breadcrumb-item">Unattended answer files</li>
      <li class="breadcrumb-item active">Unattended answer file creator</li>
    <li class="wy-breadcrumbs-aside">
    </li>
  </ul>
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
            <div class="section" itemprop="articleBody">
              
                <h1 id="unattended-answer-file-creator">Unattended answer file creator</h1>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/unatt_creator_express.png" />
</p>

<p>The unattended answer file creator lets you create unattended answer files compatible with Windows 10 and 11 in 2 ways: an easy-to-use wizard, or a text editor</p>
<p><em>This tool is available in DISMTools 0.5.1 and later</em></p>
<h2 id="creator-modes">Creator modes</h2>
<p>The creator contains 2 modes: an Express mode and an Editor mode. You can easily switch to either mode by clicking the buttons at the left corners of the window.</p>
<h3 id="express-mode">Express mode</h3>
<p>The express mode is useful for those who have never created answer files before or don't want to use text editors. Simply follow the steps of the wizard, and you will have your file in no time.</p>
<p>If you have a project loaded, DISMTools will let you save your unattended answer files to the unattended answer file folder of your project without you having to change directories. You can obviously save these files anywhere.</p>
<p>If you would like to learn more about the steps in this wizard, keep reading.</p>
<h4 id="wizard-steps">Wizard Steps</h4>
<p>In the <strong>Regional Configuration</strong> page, you can set the language, system locale, keyboard layout and home location of the target system. Set these to values that suit your needs. Or, you can set them during the configuration of the applied operating system:</p>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/steps/unatt_creator_regional_settings.png" />
</p>

<p>In the <strong>System Configuration</strong> page, you can set the computer name, the architectures that you wish to target with your answer file, and other settings:</p>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/steps/unatt_creator_system_configuration.png" />
</p>

<p>Additional options include:</p>
<ul>
<li><strong>Using a configuration set or distribution share</strong>: a configuration set can be used to preload applications and drivers into the target image. You can create these sets with the Windows System Image Manager. Make sure that there is a configuration set on the ISO file to which you are copying the answer file</li>
<li><strong>Windows 11 settings</strong>: these help you bypass the system requirements and network connection setup. Configure the latter if the target system does not have network capabilities. If you are looking to bypass this to be able to create local accounts, you can create the user accounts from this wizard as well</li>
</ul>
<p>In the <strong>Time Zone</strong> page, you can set the time zone of the target system:</p>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/steps/unatt_creator_timezone.png" />
</p>

<p>In the <strong>Disk Configuration</strong> page, you can set the disk configuration of the target system. You can let Setup give you the control over the disk configuration, or you can partition the first disk. You can also automate the entire disk configuration process by specifying DiskPart scripts:</p>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/steps/unatt_creator_disk_config.png" />
</p>

<p>In the <strong>Product Key</strong> page, you can set the product key of the target system. You can choose from a generic product key tailored to the image edition, or you can type a custom product key:</p>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/steps/unatt_creator_product_key.png" />
</p>

<p>Notes:</p>
<ul>
<li>If you want to use a generic product key, choose the one tailored to your edition. Generic product keys are only meant for operating system installation, and will not activate the system</li>
<li>If you want to use a custom product key, make sure that it is valid and that it is for the edition of the image. DISMTools will only check if the syntax of the product key is correct, but will not check if the product key is valid for installation or activation</li>
</ul>
<p>In the <strong>User Accounts</strong> page, you can create the local user accounts of the target system. You can create up to 5 accounts, and you can set the password of each account:</p>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/steps/unatt_creator_user_accounts.png" />
</p>

<p>From here, you can also enable auto-logon settings for the target system. But, if you don't want to use local accounts, or want the operating system to ask you, you can skip this step.</p>
<p>You can also configure password expiration settings for the target system, but it is not recommended to do so, according to the <a href="https://pages.nist.gov/800-63-FAQ/#q-b05">National Institute of Standards and Technology (NIST)</a>:</p>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/steps/unatt_creator_user_accounts_pw_expiry.png" />
</p>

<p>Finally, you can configure Account Lockout policies for the target system, or disable them. The latter is not recommended, as it can make the system more vulnerable to brute-force attacks:</p>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/steps/unatt_creator_user_accounts_lockout.png" />
</p>

<p>Notes:</p>
<ul>
<li>At least one account must be part of the Administrators group</li>
</ul>
<p>In the <strong>Virtual Machine Support</strong> page, you can specify whether or not you want to install the integration features of your virtual machine provider (eg. VirtualBox Guest Additions or VMware Tools):</p>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/steps/unatt_creator_vm_support.png" />
</p>

<p>In the <strong>Network Configuration</strong> page, you can specify whether the target system will connect to a wireless network:</p>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/steps/unatt_creator_network_config.png" />
</p>

<p>Notes:</p>
<ul>
<li>The authentication technology must be supported by both the wireless router and the network adapter of the target system. Make sure that the system contains a wireless adapter first</li>
<li>If you don't want to set up a wireless network connection, or if the target system does not contain a wireless adapter, choose <em>Skip configuration</em></li>
</ul>
<p>In the <strong>System Telemetry</strong> page, you can specify whether or not you want to send information to Microsoft and third-parties:</p>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/steps/unatt_creator_telemetry.png" />
</p>

<p>Notes:</p>
<ul>
<li>Choosing <em>Disable telemetry</em> will <strong>not</strong> disable all sources of data collection. You will have to perform additional modifications to your Windows image in order to further reduce data collection</li>
</ul>
<p>In the <strong>Post-Installation Scripts</strong> page, you can configure additional scripts in PowerShell that will be run during Windows installation, or when accounts log on for the first time:</p>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/steps/unatt_creator_postinst_scripts.png" />
</p>

<p>You can either write the post-installation scripts from scratch, or import existing ones.</p>
<p>Notes:</p>
<ul>
<li>After scripts are done, you can restart Windows Explorer in case you have applied personalization changes, for example, via the Registry</li>
<li>If you are new to the world of post-installation scripts, you can go with new Starter Scripts. Go to the starter script reference section (at the bottom of this page) for more information</li>
</ul>
<p>In the <strong>Component Settings</strong> page, you can specify placeholders for additional components that you want to add to your answer file for specific passes. You will have to fill them in manually after the answer file is generated:</p>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/steps/unatt_creator_components.png" />
</p>

<p>Notes:</p>
<ul>
<li>You can learn more about the components <a href="https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/components-b-unattend">here</a></li>
<li>You can fill in the placeholders in the Editor mode, or in the Windows System Image Manager</li>
<li>If you don't want to configure components, simply skip this step</li>
</ul>
<p>Finally, before creating the answer file, you can review the settings that you have configured in the wizard. If you want to change any settings, you can go back to the respective pages:</p>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/steps/unatt_creator_review.png" />
</p>

<p>After creating the answer file, you can create another one, open the file location, apply it, or edit it with the Editor mode or the Windows System Image Manager.</p>
<h3 id="editor-mode">Editor mode</h3>
<p>The editor mode lets you perform advanced customizations to your unattended answer file to add more things, like additional components or rules. You can operate the editor mode using the buttons in the toolbar.</p>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/unatt_creator_editor.png" />
</p>

<p>DISMTools 0.6.1 adds the ability to normalize the spacing of the answer file to make it consistent:</p>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/unatt_creator_editor_normalize.gif" />
</p>

<h2 id="requirements">Requirements</h2>
<p>The unattended answer file creator requires the .NET 9 Runtime for the generator program to function. If DISMTools detects that the runtime hasn't been installed, you will be offered the ability to use the self-contained version, which contains the runtime:</p>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/unattendgen_selfcontained.png" />
</p>

<p>If you decide to use this version, DISMTools will save this preference until the self-contained version is removed, either manually, or due to a program update.</p>
<p>Downloading this version will take some time, depending on your network connection speed and computer performance. After the download is complete, you will see a notification in your system tray, depending on what icons are allowed to appear in the tray:</p>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/unattendgen_notify.png" />
</p>

<p>Finally, like with the <strong>Windows Image Explorer</strong>, you can use the generator program separately. You can check out its repository <a href="https://github.com/CodingWonders/UnattendGen">here</a></p>
<h2 id="active-directory-domain-services-domain-join">Active Directory Domain Services domain join</h2>
<p>If the unattended answer file and, by extension, the Windows image, will be targeted to a fleet of computers in a domain; you can configure domain join settings using the <strong>Domain Services Wizard</strong>.</p>
<p>You can access the Domain Services Wizard by clicking the <strong>Join target device to domain...</strong> button that will appear in the following pages:</p>
<ul>
<li>System Configuration</li>
<li>User Accounts</li>
<li>Component Settings</li>
</ul>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/dsw/dswizard_jointargetdevice.png" />
</p>

<p>You will first need to configure target DNS server information: the primary domain suffix, the name of the NIC (<em>Interface Alias</em>), and DNS server addresses.</p>
<p>You can specify the interface alias in one of 2 ways:</p>
<ul>
<li>By picking from available NICs in the current system. To choose this, it is recommended that you verify if you are running DISMTools in one of the devices in the domain, unless your current device also has a NIC with the same name as the target devices</li>
<li>By typing the name of the NIC manually</li>
</ul>
<p>When you pick the NIC from the list, every other field (PDS, DNS server addresses) will be filled in automatically given the current configuration of the NIC. However, you can still change these fields if you need to use different values.</p>
<p>For DNS server addresses, you need to put one address per line. If you want to check if the syntax of the addresses is correct, click <strong>Verify DNS Address Syntax</strong>.</p>
<p>One example of filled-in information is shown below:</p>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/dsw/dswizard_dnsinfo.png" />
</p>

<p>After configuring DNS server information, you will need to configure information related to the initial user with which the target device will join the domain.</p>
<p align="center">
    <img src="../../../res/img_tasks/unattend/unatt_creator/dsw/dswizard_dsinfo.png" />
</p>

<ul>
<li>If the device is part of a domain, the domain name will be filled in automatically and you will be able to pick users from available organizational units (OUs) in the domain. However, you can still specify different information manually.</li>
<li>If the device is not part of a domain, you will need to specify all information manually.</li>
</ul>
<p>To pick a user from the domain:</p>
<ol>
<li>Select the OU from the drop-down list. After selecting the OU, the list of users in the OU will be populated automatically</li>
<li>Select the user from the list</li>
</ol>
<p>Both the UPN and the SAM account names will be filled in automatically. When specifying this information manually, you will need to specify the user part of the UPN. For instance, <code>johndoe</code>.</p>
<p>Finally, specify the password of the user. Since DISMTools will <strong>NOT</strong> check if the password is correct, make sure that you type it correctly.</p>
<p>You've finished the Domain Services Wizard. When you get to the components screen, you will see that the necessary components and settings have been added to your answer file.</p>
<h2 id="starter-script-reference">Starter Script Reference</h2>
<p>Currently, there are 10 starter scripts available:</p>
<table>
<thead>
<tr>
<th style="text-align: left;">Script Name</th>
<th style="text-align: center;">Stage</th>
<th style="text-align: left;">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">Close First Logon Animation</td>
<td style="text-align: center;">During System Configuration</td>
<td style="text-align: left;">Closes the first logon animation that appears when a user logs on for the first time</td>
</tr>
<tr>
<td style="text-align: left;">Set OEM Information</td>
<td style="text-align: center;">During System Configuration</td>
<td style="text-align: left;">Sets the OEM information of the system, like the manufacturer, model, or support information</td>
</tr>
<tr>
<td style="text-align: left;">Set Quick Machine Recovery Settings</td>
<td style="text-align: center;">During System Configuration</td>
<td style="text-align: left;">Configures Quick Machine Recovery (QMR) settings on the target system</td>
</tr>
<tr>
<td style="text-align: left;">Invoke WinUtil Configuration</td>
<td style="text-align: center;">When the first user logs on</td>
<td style="text-align: left;">Invokes WinUtil with a configuration file to apply personalization settings</td>
</tr>
<tr>
<td style="text-align: left;">Set Personalization Settings</td>
<td style="text-align: center;">When the first user logs on</td>
<td style="text-align: left;">Sets personalization settings, like the desktop wallpaper, accent color, or color modes</td>
</tr>
<tr>
<td style="text-align: left;">Set Registered Owner and Organization</td>
<td style="text-align: center;">When the first user logs on</td>
<td style="text-align: left;">Sets the registered owner and organization of the system</td>
</tr>
<tr>
<td style="text-align: left;">Set up a custom wallpaper</td>
<td style="text-align: center;">When the first user logs on</td>
<td style="text-align: left;">Sets a custom wallpaper for the desktop</td>
</tr>
<tr>
<td style="text-align: left;">Update Microsoft Store apps</td>
<td style="text-align: center;">When the first user logs on</td>
<td style="text-align: left;">Updates all Microsoft Store apps to their latest versions, if available</td>
</tr>
<tr>
<td style="text-align: left;">Disable Second Chance OOBE</td>
<td style="text-align: center;">When users log on for the first time</td>
<td style="text-align: left;">Disables the Second Chance OOBE (SCOOBE)</td>
</tr>
<tr>
<td style="text-align: left;">Disable Windows Notification Sources</td>
<td style="text-align: center;">When users log on for the first time</td>
<td style="text-align: left;">Disables various Windows notifications given sources</td>
</tr>
</tbody>
</table>
<p>Some scripts allow you to configure settings after you import them:</p>
<h3 id="close-first-logon-animation">Close First Logon Animation</h3>
<p><strong>Script language</strong>: Batch</p>
<p>No settings available.</p>
<h3 id="set-oem-information">Set OEM Information</h3>
<p><strong>Script language</strong>: Batch</p>
<table>
<thead>
<tr>
<th style="text-align: center;">Option</th>
<th style="text-align: center;">Required?</th>
<th style="text-align: left;">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;"><code>OEM_Manufacturer</code></td>
<td style="text-align: center;">Yes</td>
<td style="text-align: left;">The manufacturer of the system</td>
</tr>
<tr>
<td style="text-align: center;"><code>OEM_Model</code></td>
<td style="text-align: center;">No</td>
<td style="text-align: left;">The model of the system</td>
</tr>
<tr>
<td style="text-align: center;"><code>OEM_SupportURL</code></td>
<td style="text-align: center;">No</td>
<td style="text-align: left;">The support URL of the system</td>
</tr>
<tr>
<td style="text-align: center;"><code>OEM_SupportPhone</code></td>
<td style="text-align: center;">No</td>
<td style="text-align: left;">The support phone number of the system</td>
</tr>
<tr>
<td style="text-align: center;"><code>OEM_SupportHours</code></td>
<td style="text-align: center;">No</td>
<td style="text-align: left;">The support hours of the system</td>
</tr>
<tr>
<td style="text-align: center;"><code>OEM_Logo</code></td>
<td style="text-align: center;">No</td>
<td style="text-align: left;">The path to the OEM logo of the system. Must be a BMP file</td>
</tr>
</tbody>
</table>
<h3 id="set-quick-machine-recovery-settings">Set Quick Machine Recovery Settings</h3>
<p><strong>Script language</strong>: Batch</p>
<table>
<thead>
<tr>
<th style="text-align: center;">Option</th>
<th style="text-align: center;">Required?</th>
<th style="text-align: left;">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;"><code>QMR_CloudRemediation</code></td>
<td style="text-align: center;">Yes</td>
<td style="text-align: left;">Enables (1) or disables (0) cloud remediation for QMR</td>
</tr>
<tr>
<td style="text-align: center;"><code>QMR_AutoRemediation</code></td>
<td style="text-align: center;">Yes</td>
<td style="text-align: left;">Enables (1) or disables (0) automatic remediation for QMR</td>
</tr>
<tr>
<td style="text-align: center;"><code>QMR_NextCheckMinutes</code></td>
<td style="text-align: center;">Yes</td>
<td style="text-align: left;">Sets the number of minutes before the next QMR check</td>
</tr>
<tr>
<td style="text-align: center;"><code>QMR_NextRebootHours</code></td>
<td style="text-align: center;">Yes</td>
<td style="text-align: left;">Sets the number of hours before the next reboot</td>
</tr>
<tr>
<td style="text-align: center;"><code>QMR_Headless</code></td>
<td style="text-align: center;">Yes</td>
<td style="text-align: left;">Enables (1) or disables (0) headless mode for QMR</td>
</tr>
</tbody>
</table>
<p><strong>Notes:</strong></p>
<ul>
<li>Options 3 and 4 will only be applied if automatic remediation is enabled</li>
<li>Cloud Remediation allows the system to scan for solutions on WinRE launch</li>
<li>Auto Remediation allows the system to continue scanning for solutions if the first attempt fails</li>
</ul>
<h3 id="invoke-winutil-configuration">Invoke WinUtil Configuration</h3>
<p><strong>Script language</strong>: PowerShell</p>
<p>You need to add your configuration file to the root of the image's mount directory, as <code>winutil-config.json</code>. You can learn more about configuration files <a href="https://winutil.christitus.com/userguide/automation/">here</a>.</p>
<h3 id="set-personalization-settings">Set Personalization Settings</h3>
<p><strong>Script language</strong>: PowerShell</p>
<table>
<thead>
<tr>
<th style="text-align: center;">Option</th>
<th style="text-align: left;">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;"><code>$lightThemeSystem</code></td>
<td style="text-align: left;">If 0, sets the system theme to dark mode. If 1, sets it to light mode</td>
</tr>
<tr>
<td style="text-align: center;"><code>$lightThemeApps</code></td>
<td style="text-align: left;">If 0, sets the app theme to dark mode. If 1, sets it to light mode</td>
</tr>
<tr>
<td style="text-align: center;"><code>$accentColorOnStart</code></td>
<td style="text-align: left;">If 0, disables accent color on Start, taskbar and action center. If 1, enables it</td>
</tr>
<tr>
<td style="text-align: center;"><code>$enableTransparency</code></td>
<td style="text-align: left;">If 0, disables transparency effects (Acrylic/Mica). If 1, enables it</td>
</tr>
<tr>
<td style="text-align: center;"><code>$htmlAccentColor</code></td>
<td style="text-align: left;">Sets the accent color of the system. Must be a hex value</td>
</tr>
</tbody>
</table>
<h3 id="set-registered-owner-and-organization">Set Registered Owner and Organization</h3>
<p><strong>Script language</strong>: Batch</p>
<table>
<thead>
<tr>
<th style="text-align: center;">Option</th>
<th style="text-align: center;">Required?</th>
<th style="text-align: left;">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;"><code>AutoUserInfo</code></td>
<td style="text-align: center;">Yes</td>
<td style="text-align: left;">Determines whether to set registered owner as the name of the currently signed user (0 or 1)</td>
</tr>
<tr>
<td style="text-align: center;"><code>RegisteredUser</code></td>
<td style="text-align: center;">Yes</td>
<td style="text-align: left;">The registered owner of the system</td>
</tr>
<tr>
<td style="text-align: center;"><code>RegisteredOrg</code></td>
<td style="text-align: center;">No</td>
<td style="text-align: left;">The registered organization of the system</td>
</tr>
</tbody>
</table>
<p><strong>Notes:</strong></p>
<ul>
<li>If <code>AutoUserInfo</code> is set to 1 and a Microsoft account is used, the registered owner will be set to the first 5 letters of the email address</li>
<li>This script should not be used when users log on for the first time because user information will change every time a new user logs on for the first time if the following conditions are met:<ul>
<li><code>AutoUserInfo</code> is set to 1</li>
<li>More than one user account is created, either from the answer file or after OOBE</li>
</ul>
</li>
</ul>
<h3 id="set-up-a-custom-wallpaper">Set up a custom wallpaper</h3>
<p><strong>Script language</strong>: PowerShell</p>
<p>Place the wallpaper in any path inside the Windows image. Then, replace <code>&lt;path to your wallpaper here&gt;</code> with the actual path to your wallpaper starting from the mount directory of the Windows image. For example:</p>
<table>
<thead>
<tr>
<th style="text-align: center;">Path in mount directory</th>
<th style="text-align: center;">Actual Path</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;"><code>C:\mount\wallpaper.jpg</code></td>
<td style="text-align: center;"><code>$env:SYSTEMDRIVE\wallpaper.jpg</code></td>
</tr>
<tr>
<td style="text-align: center;"><code>C:\mount\Pictures\wallpaper.png</code></td>
<td style="text-align: center;"><code>$env:SYSTEMDRIVE\Pictures\wallpaper.png</code></td>
</tr>
</tbody>
</table>
<p>If the image file does not exist in the target image and continue with the script, you will see a black desktop background.</p>
<h3 id="update-microsoft-store-apps">Update Microsoft Store apps</h3>
<p><strong>Script language</strong>: Batch</p>
<p>No settings available.</p>
<h3 id="disable-second-chance-oobe">Disable Second Chance OOBE</h3>
<p><strong>Script language</strong>: Batch</p>
<p>No settings available.</p>
<h3 id="disable-windows-notification-sources">Disable Windows Notification Sources</h3>
<p><strong>Script language</strong>: Batch</p>
<p>By default, the script will disable the following notification sources:</p>
<ul>
<li>Suggested</li>
<li>Startup App Notification</li>
<li>OneDrive</li>
<li>Microsoft Account Health</li>
</ul>
<p>These entries will be added to list of notification sources, in Settings -&gt; System -&gt; Notifications. To add more entries to the list, do the following:</p>
<pre><code class="language-batch">FOR %%a IN (Windows.SystemToast.Suggested ... Windows.SystemToast.AccountHealth &lt;your source here&gt;) DO (
    reg add &quot;HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\%%a&quot; /f
    reg add &quot;HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\%%a&quot; /v Enabled /t REG_DWORD /d 0 /f
)
</code></pre>
<p>Notes for your source:</p>
<ul>
<li>If your source contains spaces, surround it with quotes</li>
</ul>
<h3 id="change-history">Change History</h3>
<ul>
<li>DISMTools 0.7.1 Preview 4:<ul>
<li>Added:<ul>
<li>Disable Windows Notification Sources</li>
<li>Disable Second Chance OOBE</li>
<li>Set OEM Information</li>
<li>Set Registered Owner and Organization</li>
<li>Set Quick Machine Recovery Settings</li>
</ul>
</li>
<li>Modified:<ul>
<li>Invoke WinUtil Configuration: reduced ping count to server</li>
</ul>
</li>
</ul>
</li>
<li>DISMTools 0.7.1 Preview 3:<ul>
<li>Added:<ul>
<li>Skip OOBE First Logon Animation</li>
<li>Personalize User Environment</li>
</ul>
</li>
</ul>
</li>
<li>DISMTools 0.7.1 Preview 2:<ul>
<li>Added:<ul>
<li>Set up a custom wallpaper</li>
<li>Update Microsoft Store apps</li>
<li>Invoke WinUtil Configuration</li>
</ul>
</li>
</ul>
</li>
</ul>
<h2 id="acknowledgements">Acknowledgements</h2>
<p>Special thanks to Christoph Schneegans for creating the library that makes this creator possible.</p>
              
            </div>
          </div><footer>

  <hr/>

  <div role="contentinfo">
    <!-- Copyright etc -->
  </div>

  Built with <a href="https://www.mkdocs.org/">MkDocs</a> using a <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
          
        </div>
      </div>

    </section>

  </div>

  <div class="rst-versions" role="note" aria-label="Versions">
  <span class="rst-current-version" data-toggle="rst-current-version">
    
    
      <span><a href="../unatt_man/" style="color: #fcfcfc">&laquo; Previous</a></span>
    
    
      <span><a href="../unatt_apply/" style="color: #fcfcfc">Next &raquo;</a></span>
    
  </span>
</div>
    <script src="../../../js/jquery-3.6.0.min.js"></script>
    <script>var base_url = "../../..";</script>
    <script src="../../../js/theme_extra.js"></script>
    <script src="../../../js/theme.js"></script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
      <script src="../../../search/main.js"></script>
    <script>
        jQuery(function () {
            SphinxRtdTheme.Navigation.enable(false);
        });
    </script>

</body>
</html>
